<template>
  <svg
    class="yindu-icon"
    viewBox="0 0 40 40"
    version="1.1"
    xmlns="http://www.w3.org/2000/svg"
    xmlns:xlink="http://www.w3.org/1999/xlink"
  >
    <g
      id="页面-1"
      stroke="none"
      stroke-width="1"
      fill="none"
      fill-rule="evenodd"
    >
      <g
        id="切图"
        transform="translate(-1443.000000, -99.000000)"
        fill="#323232"
      >
        <g id="编组" transform="translate(1443.000000, 99.000000)">
          <polygon
            id="Fill-1"
            points="12.5273 28.886 11.1133 27.472 27.4713 11.114 28.8853 12.528"
          ></polygon>
          <polygon
            id="Fill-2"
            points="27.4717 28.886 11.1137 12.528 12.5277 11.114 28.8857 27.472"
          ></polygon>
          <path
            d="M20,2 C10.075,2 2,10.075 2,20 C2,29.925 10.075,38 20,38 C29.925,38 38,29.925 38,20 C38,10.075 29.925,2 20,2 M20,40 C8.972,40 0,31.028 0,20 C0,8.972 8.972,0 20,0 C31.028,0 40,8.972 40,20 C40,31.028 31.028,40 20,40"
            id="Fill-3"
          ></path>
        </g>
      </g>
    </g>
  </svg>
</template>

<script setup lang="ts">
type Props = {
  fill?: string;
};

const props = withDefaults(defineProps<Props>(), {
  fill: "#323232",
});

const fillColor = computed(() => {
  return props.fill;
});
</script>
<style scoped lang="less">
.yindu-icon {
  & path,
  & polygon {
    fill: v-bind(fillColor);
  }
}
</style>
